import { NgModule } from '@angular/core';

import { ShareModule } from './share.module';
import { DepartmentRoutingModule } from '../router/department';
import { DepartmentService } from '../service/DepartmentService';

import { DepartmentListComponent } from '../components/departmentList/departmentList';
import { DepartmentAddComponent } from '../components/departmentAdd/departmentAdd';

@NgModule({
  imports: [
    ShareModule,
    DepartmentRoutingModule,
  ],
  declarations: [
    DepartmentListComponent,
    DepartmentAddComponent
  ],
  providers: [
    DepartmentService
  ],
  entryComponents: [
    DepartmentAddComponent
  ]
})
export class DepartmentModule { }
